﻿#include "FITKAbaProfileCircular.h"


Interface::FITKAbaProfile::FITKAbaProfileShape Interface::FITKAbaProfileCircular::getShape() const
{
    return FITKAbaProfile::FITKAbaProfileShape::Circular;
}

bool Interface::FITKAbaProfileCircular::copy(FITKAbstractDataObject *obj)
{
    FITKAbaProfileCircular* c = dynamic_cast<FITKAbaProfileCircular*>(obj);
    if (c == nullptr)
        return false;
    this->setDataObjectName(c->getDataObjectName());
    m_r = c->m_r;
    return true;
}

double Interface::FITKAbaProfileCircular::getR() const
{
    return m_r;
}

void Interface::FITKAbaProfileCircular::setR(double value)
{
    m_r = value;
}
